package com.sky.cqculture.pojo;


// 分页结果封装类

import java.util.List;

public class page<T> {
    private Long total;//总记录数,名字应该与接口文档一致
    private List<T> rows;

    public page(Long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }

    public page() {
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
